<extend name="Public:base" />
<block name="title">首页</block>
<block name="content">
    <div class="page__bd">
        <!--<div class="about_top_img">
            &lt;!&ndash;<img src="__PUBLIC__/home/img/bann.png" alt="">&ndash;&gt;
            <foreach name="adlist" item="vo">
                <img src="{$vo['titlepic']}" alt="">
            </foreach>
        </div>-->
        <div id="ind_slideBox" class="ind_banner wrap_wap">
            <div class="ind_bd">
                <ul>
                    <foreach name="adlist" item="vo">
                        <li><img src="{$vo['titlepic']}" /></li>
                    </foreach>
                </ul>
            </div>
            <div class="ind_hd">
                <ul></ul>
            </div>
            <script type="text/javascript">
                TouchSlide({
                    slideCell:"#ind_slideBox",
                    titCell:".ind_hd ul", //开启自动分页 autoPage:true ，此时设置 titCell 为导航元素包裹层
                    mainCell:".ind_bd ul",
                    effect:"leftLoop",
                    autoPage:true,//自动分页
                    autoPlay:true //自动播放
                });
            </script>
        </div>
        <!--<div class="weui-cell index_head">
		       <span class="fl headline_lef">
		       	医联体头条
		       </span>
            <ul class="headline_rig fr">
                <foreach name="noticelist" item="list">
                    <li><a href="__MODULE__/Article/noticedetail/id/{$list['id']}">{$list['title']}</a></li>
                </foreach>
            </ul>
        </div>-->
        <div id="scrollDiv2">
	        <span class="fl headline_lef">
		       	医联体头条
		       </span>

            <div class="scrollText">
                <ul>
                    <foreach name="noticelist" item="list">
                        <li><a href="__MODULE__/Article/noticedetail/id/{$list['id']}">{$list['title']}</a><span>{$list['addtime']}</span></li>
                    </foreach>
                </ul>
            </div>
        </div>


        <ul class="module clear">
            <li class="fl">
                <a class="icon" href="__MODULE__/Article/noticelist">
                    <span class="moduleimg ico_tongzhi"></span>
                    <span class="module-desc">通知公告</span>
                </a>
            </li>
            <li class="fl">
                <a class="icon" href="__MODULE__/Article/index">
                    <span class="moduleimg ico_xinwen"></span>
                    <span class="module-desc">新闻动态</span>
                </a>
            </li>
            <li class="fl">
                <a class="icon" href="__MODULE__/Article/learnlist">
                    <span class="moduleimg ico_jixu"></span>
                    <span class="module-desc">继续教育</span>
                </a>
            </li>
            <li class="fl">
                <a class="icon" href="__MODULE__/Referral/index">
                    <span class="moduleimg ico_zhuanzhen"></span>
                    <span class="module-desc">转诊会诊</span>
                </a>
            </li>
        </ul>

        <div class="index_jianj">
            <div class="ind_tit ind_tit_jianj c_lan">医联体简介 </div>
            <article class="weui-article article_ind_con ">
                <p>
                    {$aboutlist['content']|msubstr=0,70,'utf-8',false}...
                </p>
                <a href="__MODULE__/Index/aboutdetail">
                    了解详情>>
                </a>
            </article>
        </div>

        <div id="" class="index_jianj">
            <div class="ind_tit ind_tit_news c_lan">新闻动态 </div>
            <div class="weui-cells">
                <foreach name="article" item="list">
                    <a href="__MODULE__/Article/articledetail/id/{$list['id']}" class="weui-cell">
                        <div class="weui-cell__bd">
                            <p>{$list['title']}</p>
                        </div>
                        <div class="weui-cell__ft">{$list['addtime']|todate}</div>
                    </a>
                </foreach>
            </div>
        </div>
        <div class="ind_tit ind_tit_jixu c_lan">继续教育 </div>
        <div class="weui-cells">
            <foreach name="learn" item="list">
                <a href="{$list['file']}" class="weui-cell" >
                    <div class="weui-cell__bd">
                        <p>{$list['title']}</p>
                    </div>
                    <div class="weui-cell__ft">{$list['addtime']|todate}</div>
                </a>
            </foreach>
        </div>
    </div>
    <script type="text/javascript">
        $(document).ready(function(){
            $("#scrollDiv2").textSlider({line:2,speed:500,timer:3000});
        });
    </script>
</block>